#!/bin/bash

FILE=`basename $1 .wav`
echo $FILE
sox $FILE.wav -s -w -r 8000 $FILE.raw
g729_encode $FILE.raw $FILE.G729
